<?php
// +----------------------------------------------------------------------
// | 跃飞 [ 将来的你一定会感激现在奋斗的自己 ]
// +----------------------------------------------------------------------
// | Author: 钟贵廷
// +----------------------------------------------------------------------
// | Author URI: https://git.oschina.net/yeafy
// +----------------------------------------------------------------------
// | weChat:gt845272922  qq:845272922
// +----------------------------------------------------------------------


namespace app\yeafy\abstractFactory\demo2;


/**
 * @desc:普通单工厂
 * @author 钟贵廷
 * @WeChat gt845272922
 * @qq 845272922
 * Class OrdinaryOrderFactory
 * @package app\yeafy\abstractFactory\demo2
 */
class OrdinaryOrderFactory extends OrderFactory
{
    public function getRepairInstance()
    {
        return new RepairOrdinaryOrder();
    }

    public  function getRefurbishedInstance()
    {
        return new RefurbishedOrdinaryOrder();
    }


}